# -*- coding: utf-8 -*-

""" 
@version: 1.0
@author: jin.li.o
@license: Apache Licence 
@contact: x.leevin@gmail.com
@software: PyCharm
@file: clazz_operator.py
@time: 2018/9/25
"""

# 运算符
# 1.算术运算符 + — * / %
# 2.摸运算 取余运算 判断某个数为偶数还是奇数
# 3.赋值运算符 + += -=

# 赋值运算符
num = 5

# num = num + 1
num += 1

# 4.比较运算符 > >= < <= != == 六种比较关系
maxN = 10
minN = 5

# compareResult = maxN > minN
compareResult = maxN == minN

print("比较结果为：{0}".format(compareResult))

# 5.逻辑运算符 and, or, not

# 6.成员运算符 in , not in
# 返回值True False两种情况

